package com.lovo.service;

import com.github.pagehelper.PageInfo;
import com.lovo.model.Master;

import java.util.List;

public interface MasterService{

    List<Master> getAll(Master record);

    boolean insert(Master record);

    boolean update(Master record);
    boolean delete(Master record);
    Master show(Master master);
    //获得宠物主id
    int getMasterId(Master master);

    PageInfo<Master> getPageAll(Master master, int pageNo, int pageSize);
}
